//
//  SchoolTableView.h
//  BOSS-SOOC
//
//  Created by apple on 16/8/12.
//  Copyright © 2016年 Gcx. All rights reserved.
//

#import <UIKit/UIKit.h>
@class SchoolTableView;
@class BannerModel;

@protocol SchoolTableViewDelegate <NSObject>

/**
 *  cell的点击方法
 */
- (void)schoolTableViewSelected:(SchoolTableView *)schoolTableView resultString:(NSString *)resultString Row:(int)row;

/**
 *  banner的点击方法
 *
 *  @param bannerModel 选中banner的Model
 */
- (void)bannerSelected:(BannerModel *)bannerModel;


@end

@interface SchoolTableView : UITableView

@property (nonatomic ,weak) id<SchoolTableViewDelegate>myDelegate;

@property (nonatomic,strong) NSArray *sourceArr;

@property (nonatomic,strong) NSArray *bannerArr;

/**
 *  是否刷新
 */
//@property (nonatomic, assign)BOOL isRefresh;

@property (nonatomic, strong)void(^myBlock)(BOOL isRefresh);


@end
